3.4 \(\int \frac {\sin ^3(x)}{a-a \cos ^2(x)} \, dx\)

Optimal. Leaf size=7 \[ -\frac {\cos (x)}{a} \]

[Out]

-cos(x)/a

________________________________________________________________________________________

Rubi [A]  time = 0.04, antiderivative size = 7, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {3175, 2638} \[ -\frac {\cos (x)}{a} \]

Antiderivative was successfully verified.

[In]

Int[Sin[x]^3/(a - a*Cos[x]^2),x]

[Out]

-(Cos[x]/a)

Rule 2638

Int[sin[(c_.) + (d_.)*(x_)], x_Symbol] :> -Simp[Cos[c + d*x]/d, x] /; FreeQ[{c, d}, x]

Rule 3175

Int[(u_.)*((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]^2)^(p_), x_Symbol] :> Dist[a^p, Int[ActivateTrig[u*cos[e + f*x
]^(2*p)], x], x] /; FreeQ[{a, b, e, f, p}, x] && EqQ[a + b, 0] && IntegerQ[p]

Rubi steps

\begin {align*} \int \frac {\sin ^3(x)}{a-a \cos ^2(x)} \, dx &=\frac {\int \sin (x) \, dx}{a}\\ &=-\frac {\cos (x)}{a}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 7, normalized size = 1.00 \[ -\frac {\cos (x)}{a} \]

Antiderivative was successfully verified.

[In]

Integrate[Sin[x]^3/(a - a*Cos[x]^2),x]

[Out]

-(Cos[x]/a)

________________________________________________________________________________________

fricas [A]  time = 0.63, size = 7, normalized size = 1.00 \[ -\frac {\cos \relax (x)}{a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(x)^3/(a-a*cos(x)^2),x, algorithm="fricas")

[Out]

-cos(x)/a

________________________________________________________________________________________

giac [A]  time = 0.16, size = 7, normalized size = 1.00 \[ -\frac {\cos \relax (x)}{a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(x)^3/(a-a*cos(x)^2),x, algorithm="giac")

[Out]

-cos(x)/a

________________________________________________________________________________________

maple [A]  time = 0.06, size = 8, normalized size = 1.14 \[ -\frac {\cos \relax (x )}{a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sin(x)^3/(a-a*cos(x)^2),x)

[Out]

-cos(x)/a

________________________________________________________________________________________

maxima [A]  time = 0.66, size = 7, normalized size = 1.00 \[ -\frac {\cos \relax (x)}{a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(x)^3/(a-a*cos(x)^2),x, algorithm="maxima")

[Out]

-cos(x)/a

________________________________________________________________________________________

mupad [B]  time = 0.02, size = 7, normalized size = 1.00 \[ -\frac {\cos \relax (x)}{a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sin(x)^3/(a - a*cos(x)^2),x)

[Out]

-cos(x)/a

________________________________________________________________________________________

sympy [B]  time = 1.24, size = 12, normalized size = 1.71 \[ - \frac {2}{a \tan ^{2}{\left (\frac {x}{2} \right )} + a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(x)**3/(a-a*cos(x)**2),x)

[Out]

-2/(a*tan(x/2)**2 + a)

________________________________________________________________________________________